package com.hongxun.modules.csg.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.hongxun.common.validator.group.AddGroup;
import com.hongxun.common.validator.group.UpdateGroup;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;
import java.util.Date;


/**
 * 隐蔽工程：杆塔坑
 * 
 * @author zkcn
 * @email youeremail@163.com
 * @date 2018-08-30 15:00:41
 */
public class CPolePitEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//guid
	private String guid;

	private String pGuid;
	//所属隐蔽工程ID
	private String mCGuid;
	//所属隐蔽工程名称
	private String mCName;
	//设计坑深
	@NotBlank(message="设计坑深不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String pPDesigndepth;

	//实际坑深
	@NotBlank(message="实际坑深不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String pPActualdepth;

	//土层深度
	@NotBlank(message="土层深度不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String pPSoil;

	//砂石深度
	@NotBlank(message="砂石深度不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String pPStone;

	//检查结果
	@NotBlank(message="检查结果不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String pPResult;

	//添加时间
//	@NotBlank(message="记录时间不能为空", groups = {AddGroup.class, UpdateGroup.class})
//	@JsonInclude(JsonInclude.Include.NON_NULL)
	private Date pPAddtime;

	//状态
	private String pPDatastate;


	/**
	 * 设置：guid
	 */
	public void setGuid(String guid) {
		this.guid = guid;
	}
	/**
	 * 获取：guid
	 */
	public String getGuid() {
		return guid;
	}

	public String getPGuid() {
		return pGuid;
	}

	public void setPGuid(String pGuid) {
		this.pGuid = pGuid;
	}

	/**
	 * 设置：所属隐蔽工程ID
	 */
	public void setMCGuid(String mCGuid) {
		this.mCGuid = mCGuid;
	}
	/**
	 * 获取：所属隐蔽工程ID
	 */
	public String getMCGuid() {
		return mCGuid;
	}
	/**
	 * 设置：所属隐蔽工程名称
	 */
	public void setMCName(String mCName) {
		this.mCName = mCName;
	}
	/**
	 * 获取：所属隐蔽工程名称
	 */
	public String getMCName() {
		return mCName;
	}
	/**
	 * 设置：设计坑深
	 */
	public void setPPDesigndepth(String pPDesigndepth) {
		this.pPDesigndepth = pPDesigndepth;
	}
	/**
	 * 获取：设计坑深
	 */
	public String getPPDesigndepth() {
		return pPDesigndepth;
	}
	/**
	 * 设置：实际坑深
	 */
	public void setPPActualdepth(String pPActualdepth) {
		this.pPActualdepth = pPActualdepth;
	}
	/**
	 * 获取：实际坑深
	 */
	public String getPPActualdepth() {
		return pPActualdepth;
	}
	/**
	 * 设置：土层深度
	 */
	public void setPPSoil(String pPSoil) {
		this.pPSoil = pPSoil;
	}
	/**
	 * 获取：土层深度
	 */
	public String getPPSoil() {
		return pPSoil;
	}
	/**
	 * 设置：砂石深度
	 */
	public void setPPStone(String pPStone) {
		this.pPStone = pPStone;
	}
	/**
	 * 获取：砂石深度
	 */
	public String getPPStone() {
		return pPStone;
	}
	/**
	 * 设置：检查结果
	 */
	public void setPPResult(String pPResult) {
		this.pPResult = pPResult;
	}
	/**
	 * 获取：检查结果
	 */
	public String getPPResult() {
		return pPResult;
	}
	/**
	 * 设置：添加时间
	 */
	public void setPPAddtime(Date pPAddtime) {
		this.pPAddtime = pPAddtime;
	}
	/**
	 * 获取：添加时间
	 */
	public Date getPPAddtime() {
		return pPAddtime;
	}
	/**
	 * 设置：状态
	 */
	public void setPPDatastate(String pPDatastate) {
		this.pPDatastate = pPDatastate;
	}
	/**
	 * 获取：状态
	 */
	public String getPPDatastate() {
		return pPDatastate;
	}
}
